import axios from '@/api/fetch';
// import * as types from './types';
import SERVER from '@/api/server';

// 维修回访明细统计报表
export const getRepairVisitDetail = params => axios.get(`${SERVER.DMSCLOUD_CUSTOMERREPAIR}/customerCare/report/repairVisitDetailCount`, {
  params
});

// 导出维修回访明细统计报表
export const exportRepairVisitDetail = params => axios.get(`${SERVER.DMSCLOUD_CUSTOMERREPAIR}/customerCare/report/exportRepairVisitDetail`, {
  params,
  responseType: 'arraybuffer'
});
